package com.cwd.dao;

import com.cwd.pojo.Member;

/**
 * @PackageName: com.cwd.dao
 * @ClassName: MemberDao
 * @Author: CWD
 * @Date: 2020/3/11 18:40
 * @Description:
 */
public interface MemberDao {
    Member findByTelephone(String telephone);
    //会员注册
    void add(Member member);
    //根据月份查询会员数量
    Integer findMemberCountBeforeDate(String date);
    //查询本日新增会员
    Integer findMemberCountByDate(String today);
    //查询中会员数
    Integer findMemberTotalCount();
    //查询本周新增会员数
    Integer findMemberCountAfterDate(String thisWeekMonday);
}
